package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该人员当天最后一条轨迹数据
 */
public class EmployeeTrackLastOneKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String EMPLOYEE_TRACK_LAST_ONE_PREFIX = "EMPLOYEE_TRACK_LAST_ONE_TODAY_";

    private EmployeeTrackLastOneKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static EmployeeTrackLastOneKeyToday token = new EmployeeTrackLastOneKeyToday(TOKEN_EXPIRE, EMPLOYEE_TRACK_LAST_ONE_PREFIX);
}
